# Content Block Patterns Library

This document contains reusable design patterns extracted from the Skene.ai landing page. Each pattern is production-ready and follows the design system guidelines.

---

## 1. Hero Section Pattern

**Purpose:** Main landing section with headline, description, and CTA

**Structure:**
- Badge/Label (optional)
- Large headline (96px or 48px)
- Subtitle/description
- Primary CTA button
- Optional secondary CTA

**Example:**

```tsx
<section className="relative w-full min-h-screen bg-[#060606] flex items-center justify-center">
  <div className="flex flex-col items-center gap-[40px] text-center max-w-[800px] px-[32px]">
    {/* Badge */}
    <div className="border border-[#a1a1a1] text-[#ebdccf] font-['Geist_Mono'] text-[12px] tracking-[1.56px] uppercase px-[10px] py-[4px] rounded-[4px]">
      CUSTOMER SUCCESS AI AGENT
    </div>
    
    {/* Headline */}
    <h1 className="font-['Geist'] font-semibold text-[96px] leading-[96px] tracking-[-1.92px] text-[#ebdccf]">
      Quickly build<br />product-led growth
    </h1>
    
    {/* Subtitle */}
    <p className="font-['Geist'] text-[18px] leading-[23px] text-[#a1a1a1] max-w-[580px]">
      AI-powered onboarding and retention. Automatically generated from your codebase.
    </p>
    
    {/* CTA */}
    <button className="bg-[#edc29c] text-black font-['Geist_Mono'] font-medium text-[16px] px-[35px] py-[19px] rounded-[8px]">
      Get started →
    </button>
  </div>
</section>
```

**Variants:**
- **Centered:** All content centered (default)
- **Left-aligned:** Content aligned to left with visual on right
- **With background image:** Add backdrop image with overlay

---

## 2. Stats Grid Pattern

**Purpose:** Display key metrics or statistics in a visually striking way

**Structure:**
- 2-4 stat cards in a row
- Large gradient number
- Descriptive label underneath
- Glassmorphic card background

**Example:**

```tsx
<section className="py-[100px] bg-[#060606]">
  <div className="max-w-[1200px] mx-auto px-[32px]">
    <div className="flex gap-[18px] justify-center flex-wrap">
      {/* Stat Card 1 */}
      <div className="backdrop-blur-[14.374px] bg-[rgba(255,255,255,0.06)] rounded-[12px] w-[300px] h-[254px] flex flex-col items-center justify-center gap-[6px]">
        <h2 
          className="font-['Geist'] font-semibold text-[96px] leading-[152.994px] tracking-[-1.92px] bg-gradient-to-b from-[#faf1e9] to-[#edc29c] bg-clip-text"
          style={{ WebkitTextFillColor: 'transparent' }}
        >
          5m
        </h2>
        <p className="font-['Geist_Mono'] font-light text-[11px] tracking-[1.76px] uppercase text-[#ebdccf]">
          Average setup time
        </p>
      </div>
      
      {/* Stat Card 2 */}
      <div className="backdrop-blur-[14.374px] bg-[rgba(255,255,255,0.06)] rounded-[12px] w-[300px] h-[254px] flex flex-col items-center justify-center gap-[6px]">
        <h2 
          className="font-['Geist'] font-semibold text-[96px] leading-[152.994px] tracking-[-1.92px] bg-gradient-to-b from-[#faf1e9] to-[#edc29c] bg-clip-text"
          style={{ WebkitTextFillColor: 'transparent' }}
        >
          95%
        </h2>
        <p className="font-['Geist_Mono'] font-light text-[11px] tracking-[1.76px] uppercase text-[#ebdccf]">
          Customer satisfaction
        </p>
      </div>
      
      {/* Stat Card 3 */}
      <div className="backdrop-blur-[14.374px] bg-[rgba(255,255,255,0.06)] rounded-[12px] w-[300px] h-[254px] flex flex-col items-center justify-center gap-[6px]">
        <h2 
          className="font-['Geist'] font-semibold text-[96px] leading-[152.994px] tracking-[-1.92px] bg-gradient-to-b from-[#faf1e9] to-[#edc29c] bg-clip-text"
          style={{ WebkitTextFillColor: 'transparent' }}
        >
          3x
        </h2>
        <p className="font-['Geist_Mono'] font-light text-[11px] tracking-[1.76px] uppercase text-[#ebdccf]">
          Increase in completion rate
        </p>
      </div>
    </div>
  </div>
</section>
```

**Guidelines:**
- Use 2-4 cards for optimal visual balance
- Keep labels concise (2-4 words)
- Use gradient text for emphasis
- Maintain consistent card sizing

---

## 3. Feature Grid Pattern

**Purpose:** Showcase product features in a scannable grid layout

**Structure:**
- Section header with badge and title
- Grid of feature cards (2 columns)
- Each card has badge and description

**Example:**

```tsx
<section className="py-[130px] px-[32px] bg-[#faf1e9]">
  <div className="max-w-[1004px] mx-auto">
    {/* Header */}
    <div className="flex flex-col gap-[16px] items-center text-center mb-[62px]">
      <div className="border border-[#a1a1a1] text-[#2c2c2c] font-['Geist_Mono'] text-[12px] tracking-[1.56px] uppercase px-[10px] py-[4px] rounded-[4px] w-fit">
        Product-led growth
      </div>
      <h2 className="font-['Geist'] font-medium text-[48px] leading-[52.8px] tracking-[-0.96px] text-[#2c2c2c]">
        More than just onboarding
      </h2>
      <p className="font-['Geist'] text-[18px] leading-[23px] text-[#757171]">
        Everything you need to reach PLG, without the overhead.
      </p>
    </div>
    
    {/* Feature Grid */}
    <div className="flex flex-wrap gap-[18px] justify-center">
      {/* Feature Card */}
      <div className="backdrop-blur-[14.374px] bg-[rgba(6,6,6,0.03)] rounded-[12px] px-[40px] py-[38px] w-[471px] h-[207px] flex flex-col gap-[26px]">
        <div className="bg-[#2c2c2c] text-[#faf1e9] font-['Geist_Mono'] text-[12px] tracking-[1.56px] uppercase px-[10px] py-[4px] rounded-[4px] w-fit">
          Success analytics
        </div>
        <p className="font-['Geist'] text-[16px] leading-[21px] text-[#060606]">
          Real-time visibility into what's working. Track completion rates, identify drop-off points, and measure time-to-activation.
        </p>
      </div>
      
      {/* More feature cards... */}
    </div>
  </div>
</section>
```

**Guidelines:**
- Use 4-6 features for best results
- Keep descriptions to 2-3 lines
- Align cards in 2-column grid
- Maintain consistent card heights

---

## 4. How It Works / Process Pattern

**Purpose:** Explain a step-by-step process or workflow

**Structure:**
- Section container with light background
- Numbered steps with badges
- Text descriptions on left, visual on right
- Horizontal dividers between steps

**Example:**

```tsx
<section className="py-[100px]">
  <div className="bg-[#faf1e9] rounded-[16px] p-[87px] max-w-[1376px] mx-auto">
    {/* Header */}
    <div className="mb-[62px]">
      <div className="border border-[#a1a1a1] text-[#2c2c2c] font-['Geist_Mono'] text-[12px] tracking-[1.56px] uppercase px-[10px] py-[4px] rounded-[4px] w-fit mb-[40px]">
        SKENE.AI
      </div>
      <h2 className="font-['Geist'] font-medium text-[48px] leading-[52.8px] tracking-[-0.96px] text-[#060606]">
        How it works
      </h2>
      <p className="font-['Geist'] text-[18px] leading-[23px] text-[#757171] mt-[16px]">
        From codebase to product-led growth in four steps.
      </p>
    </div>
    
    {/* Steps */}
    <div className="space-y-[140px]">
      {/* Step 1 */}
      <div className="flex gap-[120px] items-start">
        <div className="flex-shrink-0 max-w-[320px]">
          <div className="border border-[#2c2c2c] text-[#2c2c2c] font-['Geist_Mono'] text-[12px] tracking-[1.56px] uppercase px-[10px] py-[4px] rounded-[4px] w-fit mb-[16px]">
            CONNECT
          </div>
          <p className="font-['Geist'] text-[16px] leading-[19.6px] text-[#2c2c2c]">
            Skene links to GitHub, GitLab, or Bitbucket via read-only authorization. No code changes required.
          </p>
        </div>
        <div className="flex-1">
          {/* Visual/Illustration */}
        </div>
      </div>
      
      {/* Divider */}
      <div className="h-px w-[460px] bg-[rgba(161,161,161,0.6)]" />
      
      {/* Repeat for other steps */}
    </div>
  </div>
</section>
```

**Guidelines:**
- Use 3-5 steps maximum
- Include visual elements when possible
- Maintain consistent spacing between steps
- Use dividers to separate sections

---

## 5. Pricing Cards Pattern

**Purpose:** Display pricing tiers with feature comparison

**Structure:**
- Section header with pricing badge
- 2-3 pricing cards side by side
- Popular badge on recommended tier
- Clear pricing and features list

**Example:**

```tsx
<section className="py-[100px] bg-[#060606]">
  <div className="max-w-[1376px] mx-auto px-[32px]">
    {/* Header */}
    <div className="mb-[100px]">
      <div className="border border-[#edc29c] text-[#edc29c] font-['Geist_Mono'] text-[12px] tracking-[1.56px] uppercase px-[10px] py-[4px] rounded-[4px] w-fit mb-[40px]">
        PRICING
      </div>
      <h2 className="font-['Geist'] font-medium text-[48px] leading-[52.8px] tracking-[-0.96px] text-[#ebdccf]">
        Simple, reliable, <span className="text-[#edc29c]">outcome-based</span> pricing
      </h2>
      <p className="font-['Geist'] text-[18px] leading-[23px] text-[#a1a1a1] mt-[16px]">
        Only pay when your customer succeeds.
      </p>
    </div>
    
    {/* Pricing Cards */}
    <div className="flex gap-6 justify-center flex-wrap">
      {/* Free Plan */}
      <div className="backdrop-blur-[500px] bg-gradient-to-r from-[#2c2c2c] to-[#2c2c2c] rounded-[16px] px-[32px] py-[32px] pb-[24px] w-[344px] flex flex-col justify-between">
        <div>
          <div className="backdrop-blur-[50px] border border-[#faf1e9] text-[#faf1e9] font-['Geist_Mono'] text-[11px] uppercase px-[5px] py-[2.5px] rounded-[4px] w-fit mb-[8px]">
            getting started
          </div>
          
          <h3 className="font-['Geist'] font-medium text-[36px] tracking-[-0.96px] text-[#faf1e9] mb-[4px]">
            Free plan
          </h3>
          <p className="font-['Geist_Mono'] text-[20px] tracking-[1.2px] text-[#faf1e9] mb-[40px]">
            0€/month
          </p>
          
          <div className="flex flex-col gap-[16px]">
            {['1 live site', 'Up to 5 monthly onboardings', 'Basic analytics'].map((feature) => (
              <div key={feature} className="flex gap-[6px] items-center">
                <svg className="size-[12.8px]" fill="none" viewBox="0 0 13 13">
                  <path d="M10.6654 3.33203L4.9987 8.9987L2.33203 6.33203" stroke="#FAF1E9" strokeWidth="1.06667" strokeLinecap="round" strokeLinejoin="round" />
                </svg>
                <p className="font-['Geist'] text-[18px] leading-[19.6px] text-[#faf1e9]">{feature}</p>
              </div>
            ))}
          </div>
        </div>
        
        <button className="border border-[#faf1e9] text-[#faf1e9] font-['Geist_Mono'] font-medium px-[35px] py-[19px] rounded-[8px] w-full mt-[40px]">
          Try for free →
        </button>
      </div>
      
      {/* Growth Plan (Popular) */}
      <div className="backdrop-blur-[500px] bg-gradient-to-r from-[#edc29c] to-[#edc29c] rounded-[16px] border border-white px-[32px] py-[32px] pb-[24px] w-[344px] relative">
        <span className="absolute top-[40px] right-[32px] text-[12px] font-['Geist_Mono'] text-[#2c2c2c]">
          Popular
        </span>
        {/* Same structure as Free Plan but with light colors */}
      </div>
    </div>
  </div>
</section>
```

**Guidelines:**
- Show 2-3 pricing tiers
- Highlight recommended plan
- List 3-5 key features per plan
- Clear CTA buttons on each card

---

## 6. FAQ Accordion Pattern

**Purpose:** Display frequently asked questions in an expandable format

**Structure:**
- Section header with FAQ badge
- List of questions with expand/collapse icons
- Dividers between items
- Content area positioned to the right

**Example:**

```tsx
<section className="py-[100px] bg-[#060606]">
  <div className="max-w-[1376px] mx-auto px-[126px]">
    {/* Header */}
    <div className="mb-[90px]">
      <div className="border border-[#edc29c] text-[#edc29c] font-['Geist_Mono'] text-[12px] tracking-[1.56px] uppercase px-[10px] py-[4px] rounded-[4px] w-fit mb-[40px]">
        FAQs
      </div>
      <h2 className="font-['Geist'] font-medium text-[48px] leading-[52.8px] text-[#ebdccf] mb-[16px]">
        Frequently Asked Questions
      </h2>
      <p className="font-['Geist'] text-[18px] leading-[23px] text-[#ebdccf]">
        Everything you need to know about Skene
      </p>
    </div>
    
    {/* FAQ Items */}
    <div className="max-w-[647px] ml-auto flex flex-col gap-[25px]">
      {/* FAQ Item 1 */}
      <div className="flex justify-between items-center cursor-pointer">
        <h3 className="font-['Geist'] text-[20px] leading-[26px] tracking-[-0.96px] text-[#ebdccf]">
          How do I get started with Skene?
        </h3>
        <svg className="size-[24px]" fill="none" viewBox="0 0 24 24">
          <path d="M7 10L12 15L17 10" stroke="#EBDCCF" strokeWidth="2" strokeLinecap="round" strokeLinejoin="round" />
        </svg>
      </div>
      
      {/* Divider */}
      <div className="h-px w-full bg-[rgba(235,220,207,0.24)]" />
      
      {/* Repeat for other FAQ items */}
    </div>
  </div>
</section>
```

**Guidelines:**
- Use 5-8 FAQ items
- Keep questions concise
- Align items to right side for visual interest
- Add hover states for interactivity

---

## 7. Navigation Header Pattern

**Purpose:** Top navigation with logo and menu items

**Structure:**
- Logo on left
- Navigation links in center
- CTA button on right
- Glassmorphic background (optional)

**Example:**

```tsx
<header className="fixed top-0 left-0 right-0 z-50">
  <div className="backdrop-blur-[35px] bg-gradient-to-t from-[rgba(29,21,21,0.2)] to-[rgba(29,21,21,0)]">
    <div className="max-w-[1440px] mx-auto px-[40px] py-[20px] pb-[10px]">
      <div className="flex items-center justify-between">
        {/* Logo */}
        <div className="flex items-center gap-[8px]">
          {/* Logo SVG */}
          <span className="font-['Inter'] font-semibold text-[17.424px] text-[#ebdccf]">
            Skene
          </span>
        </div>
        
        {/* Navigation */}
        <nav className="flex gap-[40px] items-center">
          <a className="font-['Geist_Mono'] font-medium text-[14px] text-[#ebdccf] leading-[20px]">
            Home
          </a>
          <a className="font-['Geist_Mono'] font-medium text-[14px] text-[#ebdccf] leading-[20px]">
            How it works
          </a>
          <a className="font-['Geist_Mono'] font-medium text-[14px] text-[#ebdccf] leading-[20px]">
            Pricing
          </a>
          <a className="font-['Geist_Mono'] font-medium text-[14px] text-[#ebdccf] leading-[20px]">
            Login
          </a>
        </nav>
        
        {/* CTA Button */}
        <button className="bg-[#edc29c] text-black font-['Geist_Mono'] font-medium text-[12px] px-[16px] py-[8px] rounded-[8px] leading-[20px]">
          Sign up
        </button>
      </div>
    </div>
  </div>
</header>
```

**Guidelines:**
- Keep navigation items to 4-6 links
- Use sticky/fixed positioning
- Add backdrop blur for depth
- Highlight active page

---

## 8. CTA Section Pattern

**Purpose:** Call-to-action section to drive conversions

**Structure:**
- Centered content
- Compelling headline
- Supporting text
- Primary CTA button
- Optional secondary action

**Example:**

```tsx
<section className="py-[100px] bg-[#060606]">
  <div className="max-w-[800px] mx-auto px-[32px] text-center">
    <h2 className="font-['Geist'] font-medium text-[48px] leading-[52.8px] tracking-[-0.96px] text-[#ebdccf] mb-[24px]">
      Ready to transform your onboarding?
    </h2>
    <p className="font-['Geist'] text-[18px] leading-[23px] text-[#a1a1a1] mb-[40px]">
      Join hundreds of companies using Skene to accelerate product-led growth.
    </p>
    <div className="flex gap-[16px] justify-center">
      <button className="bg-[#edc29c] text-black font-['Geist_Mono'] font-medium text-[16px] px-[35px] py-[19px] rounded-[8px]">
        Get Started →
      </button>
      <button className="border border-[#faf1e9] text-[#faf1e9] font-['Geist_Mono'] font-medium text-[16px] px-[35px] py-[19px] rounded-[8px]">
        Schedule Demo
      </button>
    </div>
  </div>
</section>
```

**Guidelines:**
- Keep headline benefit-focused
- Use action-oriented button text
- Consider contrast and visual hierarchy
- Place strategically throughout page

---

## 9. Footer Pattern

**Purpose:** Site footer with links and information

**Structure:**
- Multi-column layout
- Logo and tagline
- Link groups
- Social media icons
- Legal links

**Example:**

```tsx
<footer className="bg-[#060606] border-t border-[rgba(255,255,255,0.1)] py-[80px]">
  <div className="max-w-[1376px] mx-auto px-[32px]">
    <div className="grid grid-cols-4 gap-[80px] mb-[60px]">
      {/* Brand Column */}
      <div>
        <div className="flex items-center gap-[8px] mb-[16px]">
          {/* Logo */}
          <span className="font-['Inter'] font-semibold text-[17.424px] text-[#ebdccf]">
            Skene
          </span>
        </div>
        <p className="font-['Geist'] text-[14px] leading-[18.107px] text-[#a1a1a1]">
          AI-powered onboarding for modern SaaS
        </p>
      </div>
      
      {/* Link Columns */}
      <div>
        <h4 className="font-['Geist_Mono'] font-medium text-[12px] tracking-[1.56px] uppercase text-[#ebdccf] mb-[16px]">
          Product
        </h4>
        <nav className="flex flex-col gap-[12px]">
          <a className="font-['Geist'] text-[14px] text-[#a1a1a1] hover:text-[#ebdccf]">
            Features
          </a>
          {/* More links */}
        </nav>
      </div>
      
      {/* Repeat for other columns */}
    </div>
    
    {/* Bottom Bar */}
    <div className="flex justify-between items-center pt-[40px] border-t border-[rgba(255,255,255,0.1)]">
      <p className="font-['Geist'] text-[14px] text-[#6a6a6a]">
        © 2024 Skene. All rights reserved.
      </p>
      <div className="flex gap-[24px]">
        <a className="font-['Geist'] text-[14px] text-[#a1a1a1] hover:text-[#ebdccf]">
          Privacy
        </a>
        <a className="font-['Geist'] text-[14px] text-[#a1a1a1] hover:text-[#ebdccf]">
          Terms
        </a>
      </div>
    </div>
  </div>
</footer>
```

**Guidelines:**
- Organize links into logical groups
- Include essential legal links
- Add social media presence
- Keep it scannable

---

## Pattern Composition Tips

### Combining Patterns

1. **Typical Landing Page Flow:**
   - Navigation Header
   - Hero Section
   - Stats Grid
   - Feature Grid
   - How It Works
   - Pricing Cards
   - FAQ
   - CTA Section
   - Footer

2. **Product Page Flow:**
   - Navigation Header
   - Hero Section
   - Feature Grid (detailed)
   - How It Works
   - CTA Section
   - Footer

3. **Marketing Page Flow:**
   - Navigation Header
   - Hero Section
   - Stats Grid
   - Feature Grid
   - CTA Section
   - Footer

### Spacing Between Sections

- **Small gap:** 62px (`py-[62px]`)
- **Medium gap:** 100px (`py-[100px]`)
- **Large gap:** 130px (`py-[130px]`)

### Background Alternation

Alternate between light and dark backgrounds for visual rhythm:

```
Dark → Light → Dark → Light
```

Or use gradients/overlays for subtle transitions.

---

## Accessibility Considerations

- Maintain WCAG AA color contrast (already built into palette)
- Use semantic HTML elements
- Add ARIA labels for interactive elements
- Ensure keyboard navigation works
- Provide focus indicators
- Use alt text for images
- Test with screen readers

---

## Responsive Guidelines

All patterns should adapt for mobile devices:

- **Desktop:** Full layout as shown
- **Tablet (768px):** Reduce padding, stack some elements
- **Mobile (640px):** Single column, reduced font sizes, stacked cards

Example responsive breakpoints:

```tsx
// Desktop
<div className="flex gap-[18px]">

// Responsive
<div className="flex flex-col md:flex-row gap-[18px]">
```
